package cn.com.chec.en.constants;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;

public class LogConstants {
	public static final int ACTION_INSERT = 1;
	public static final int ACTION_DELETE = 2;
	public static final int ACTION_MODIFY = 3;
	public static final int ACTION_SYNCH = 4;
	public static Map<Integer, String> LOGACTIONMAP = new HashMap<Integer, String>();

	static {
		LOGACTIONMAP.put(Integer.valueOf(1), "新增");
		LOGACTIONMAP.put(Integer.valueOf(2), "删除");
		LOGACTIONMAP.put(Integer.valueOf(3), "修改");
		LOGACTIONMAP.put(Integer.valueOf(4), "同步");
	}

	public static void main(String[] args) {
		Set<Integer> set = LOGACTIONMAP.keySet();
		for (Integer i : set)
			System.out.println(i + "  " + (String) LOGACTIONMAP.get(i));
	}
}